package br.com.guiav6.sisguia.repository;

import java.util.List;

public interface Dao<K,E> {

	public abstract List<E> findAll();

	public abstract E findById(K id);

	public abstract E merge(E entity);

	public abstract void persist(E entity);

	public abstract void refresh(E entity);

	public abstract void addAll(List<E> entities);

	public abstract void removeAllEntities(List<E> entities);

}
